package com.chennan.spring.demo.annotation.configuration;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author chennan
 * @create 2021-11
 */
public class Test11111 {
    public static void main(String[] args) {
        ApplicationContext app = new AnnotationConfigApplicationContext(ConfigurationTest.class);
        Object person = app.getBean("person");
        System.out.println(person);
    }
}
